	<form name="compareRevs" action="compare" method="GET">
	<input type="Submit" value="Compare revisions">
	<table class="RevisionsTable">
	<tr><th> </th><th> </th><th>Timestamp</th><th>User</th><th>Comment</th></tr>
	  {% for rev in revisions %}
	    <tr>
		  <td>{% if not forloop.first %}<input type="Radio" name="oldrev" value="{{rev.key}}">{% endif %}</td>
		  <td>{% if not forloop.last %}<input type="Radio" name="newrev" value="{{rev.key}}">{% endif %}</td>
		  <td><a href="rev/{{rev.key}}">{{rev.date|date:"Y-m-d H:i:s"}}</a></td>
		  <td>{{rev.creator.username}}</td>
		  <td>{{rev.comment}}</td>
	    </tr>
	  {% endfor %}
	</table>